<!DOCTYPE html>
<html>
	<head>
		<meta name="viewport" content="width=device-width,initial-scale=1.0">
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			*{
				padding: 0;
				margin: 0;
			}
			.aaa{
				border: 1px red solid;
				white-space: nowrap;
				overflow: auto;
				display: flex;
				align-items: center;
			}
			
			.bbb{
				display: inline-block;
				width: 100px;
				background: green;
				border: 1px solid yellow;
			}
			.ccc{
				width: 100px;
				height: 100px;
				border: 1px solid #fff;
			}
		</style>
	</head>
	<body>
		<div class="aaa">
			<div class="bbb">
				<div class="ccc">222</div>
			</div>
			<div class="bbb ddd">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			<div class="bbb">1111</div>
			
		</div>
	</body>
</html>

